<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/DMN/20151101/dmn.xsd"
             id="definitions"
             expressionLanguage="groovy"
             name="camunda"
             namespace="http://camunda.org/schema/1.0/dmn">
  <decision id="A" name="A">
     <informationRequirement>
      <requiredDecision href="#B" />
    </informationRequirement>
    <informationRequirement>
      <requiredDecision href="#C" />
    </informationRequirement>
    <decisionTable id="aaDecisionTable" hitPolicy="COLLECT">
      <input id="input1">
        <inputExpression><text>yy</text></inputExpression>
      </input>
      <input id="input2">
        <inputExpression><text>bb</text></inputExpression>
      </input>
      <input id="input3">
        <inputExpression><text>cc</text></inputExpression>
      </input>
      <output id="output1" name="aa" typeRef="string" />
      <rule id="rule1">
        <inputEntry id="inputEntry1"><text><![CDATA[cellInput.contains("yy")]]></text>
        </inputEntry>
        <inputEntry id="inputEntry2"><text><![CDATA[cellInput.contains("bb")]]></text>
        </inputEntry>
        <inputEntry id="inputEntry3"><text><![CDATA[cellInput == "cc"]]></text>
        </inputEntry>
        <outputEntry id="outputEntry1"><text>"aa"</text>
        </outputEntry>
      </rule>
      <rule id="rule2">
        <inputEntry id="inputEntry4"><text><![CDATA[cellInput.contains("yyy")]]></text>
        </inputEntry>
        <inputEntry id="inputEntry5"><text><![CDATA[cellInput.contains("bbb")]]></text>
        </inputEntry>
        <inputEntry id="inputEntry6"><text><![CDATA[cellInput == "cc"]]></text>
        </inputEntry>
        <outputEntry id="outputEntry2"><text>"aaa"</text>
        </outputEntry>
      </rule>
    </decisionTable>
   </decision>
    
   <decision id="B" name="B">
    <decisionTable id="bbDecisionTable" hitPolicy="COLLECT">
      <input id="input4">
        <inputExpression><text>dd</text></inputExpression>
      </input>
      <output id="output2" name="bb" typeRef="string" />
      <output id="output3" name="yy" typeRef="string" />
      <rule id="rule3">
        <inputEntry id="inputEntry7"><text><![CDATA[cellInput.contains("dd")]]></text>
        </inputEntry>
        <outputEntry id="outputEntry3"><text>"bb"</text>
        </outputEntry>
        <outputEntry id="outputEntry4"><text>"yy"</text>
        </outputEntry>
      </rule>
      <rule id="rule4">
        <inputEntry id="inputEntry8"><text><![CDATA[cellInput.contains("dd")]]></text>
        </inputEntry>
        <outputEntry id="outputEntry5"><text>"bbb"</text>
        </outputEntry>
        <outputEntry id="outputEntry6"><text>"yyy"</text>
        </outputEntry>
      </rule>
    </decisionTable>
   </decision>
   
   <decision id="C" name="C">
    <decisionTable id="ccDecisionTable">
      <input id="input5">
        <inputExpression><text>ee</text></inputExpression>
      </input>
      <output id="output4" name="cc" typeRef="string" />
      <rule id="rule5">
        <inputEntry id="inputEntry9"><text><![CDATA[cellInput == "ee"]]></text>
        </inputEntry>
        <outputEntry id="outputEntry7"><text>"cc"</text>
        </outputEntry>
      </rule>
    </decisionTable>
  </decision>
</definitions>